package com.ddstation.onsitelaw.entity.auditentity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * mapping dt_health_data_medical_treament 门诊病历 成药处方
 * @author jinxiongjun
 * @date 2018年1月13日
 */
public class DtHealthDataChinesepatentPrescriptionEntity {
	private Integer uid;
	private Integer childId;
	private Integer medicalId;//门诊病历ID
	private Integer itemId;//药品id
	private String itemName;//药品名称
	private String drugUse;//用法
	private String frequency;//用药频率
	private Float onceDose;//单次剂量
	private String doseUnit;//单次剂量单位
	private Integer dosage;//开药总量
	private String dosageUnit;//开药量单位
	private Float retailPrice;//单价
	private Integer prescribingNumber;//开药天数
	private Float totalPrice;//总价
	private String comment;
	private Integer preparationAmount;//制剂数量
	private String preparationUnit;//制剂单位
	private Float onceDoseBase; //单次剂量（药品表）
	private String drugUseText;
	private String frequencyText;
	private String spec;
	
	private String tmpPrescriptionId; //临时处方ID(生成新处方时用)
	private Integer prescriptionId;//处方ID
	private Integer groupNo;//药品组号
	private Integer chargeStatus;//支付状态 0未支付 1已支付
	
	private Integer dosageUnitType;//拆零药品开药单位区分  1：大单位  2：小单位
	
	private Integer separate; //是否允许拆零  0：否  1：是',
	private String preparationUnitText; //制剂单位文本',
	private String stockKeepingUnitText; //库存单位文本
	
	private String containerNb;//货柜号
	private String producer;//生产厂商
	
	private Float separatePrice;//执零价
	private Float retailBigPrice;//整价
	
	private Integer doctorId;
	private String doctorName;
	private Date issueDt; //开具日期
	private String issueDtText;
	private Integer dispenseStatus; //发药状态
	
	private Integer source; // 0:本院 1:外配
	private Integer feeMode; // 0:免费 1:收费
	
	private BigDecimal editRetailPrice;//修改总价后重新计算的单价
	private BigDecimal editTotalPrice;//修改总价后重新计算的总价
	
	public String getContainerNb() {
		return containerNb;
	}
	public void setContainerNb(String containerNb) {
		this.containerNb = containerNb;
	}
	public String getProducer() {
		return producer;
	}
	public void setProducer(String producer) {
		this.producer = producer;
	}
	public Integer getPrescriptionId() {
		return prescriptionId;
	}
	public void setPrescriptionId(Integer prescriptionId) {
		this.prescriptionId = prescriptionId;
	}
	public Integer getGroupNo() {
		return groupNo;
	}
	public void setGroupNo(Integer groupNo) {
		this.groupNo = groupNo;
	}
	public DtHealthDataChinesepatentPrescriptionEntity() {}
	
	public DtHealthDataChinesepatentPrescriptionEntity(Integer uid, Integer childId, Integer medicalId) {
		super();
		this.uid = uid;
		this.childId = childId;
		this.medicalId = medicalId;
	}
	public String getDrugUseText() {
		return drugUseText;
	}
	public void setDrugUseText(String drugUseText) {
		this.drugUseText = drugUseText;
	}
	public String getFrequencyText() {
		return frequencyText;
	}
	public void setFrequencyText(String frequencyText) {
		this.frequencyText = frequencyText;
	}
	public String getSpec() {
		return spec;
	}
	public void setSpec(String spec) {
		this.spec = spec;
	}
	
	public Integer getUid() {
		return uid;
	}
	public void setUid(Integer uid) {
		this.uid = uid;
	}
	public Integer getChildId() {
		return childId;
	}
	public void setChildId(Integer childId) {
		this.childId = childId;
	}
	public Integer getMedicalId() {
		return medicalId;
	}
	public void setMedicalId(Integer medicalId) {
		this.medicalId = medicalId;
	}
	public String getItemName() {
		return itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	public String getDrugUse() {
		return drugUse;
	}
	public void setDrugUse(String drugUse) {
		this.drugUse = drugUse;
	}
	public String getFrequency() {
		return frequency;
	}
	public void setFrequency(String frequency) {
		this.frequency = frequency;
	}
	public String getDoseUnit() {
		return doseUnit;
	}
	public void setDoseUnit(String doseUnit) {
		this.doseUnit = doseUnit;
	}
	public Integer getDosage() {
		return dosage;
	}
	public void setDosage(Integer dosage) {
		this.dosage = dosage;
	}
	public String getDosageUnit() {
		return dosageUnit;
	}
	public void setDosageUnit(String dosageUnit) {
		this.dosageUnit = dosageUnit;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
		
	public Integer getItemId() {
		return itemId;
	}
	public void setItemId(Integer itemId) {
		this.itemId = itemId;
	}
	public Float getRetailPrice() {
		return retailPrice;
	}
	public void setRetailPrice(Float retailPrice) {
		this.retailPrice = retailPrice;
	}
	public Integer getPrescribingNumber() {
		return prescribingNumber;
	}
	public void setPrescribingNumber(Integer prescribingNumber) {
		this.prescribingNumber = prescribingNumber;
	}
	public Float getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(Float totalPrice) {
		this.totalPrice = totalPrice;
	}
	public Float getOnceDose() {
		return onceDose;
	}
	public void setOnceDose(Float onceDose) {
		this.onceDose = onceDose;
	}
	public Integer getPreparationAmount() {
		return preparationAmount;
	}

	public void setPreparationAmount(Integer preparationAmount) {
		this.preparationAmount = preparationAmount;
	}

	public String getPreparationUnit() {
		return preparationUnit;
	}

	public void setPreparationUnit(String preparationUnit) {
		this.preparationUnit = preparationUnit;
	}
	public Float getOnceDoseBase() {
		return onceDoseBase;
	}
	public void setOnceDoseBase(Float onceDoseBase) {
		this.onceDoseBase = onceDoseBase;
	}
	@Override
	public String toString() {
		return "DtHealthDataWestPrescriptionEntity [uid=" + uid + ", childId=" + childId + ", medicalId=" + medicalId
				+ ", itemName=" + itemName
				+ ", drugUse=" + drugUse
				+ ", frequency=" + frequency
				+ ", onceDose=" + onceDose
				+ ", doseUnit=" + doseUnit
				+ ", dosage=" + dosage
				+ ", dosageUnit=" + dosageUnit
				+ ", retailPrice=" + retailPrice
				+ ", comment=" + comment + "]";
	}
	public Integer getChargeStatus() {
		return chargeStatus;
	}
	public void setChargeStatus(Integer chargeStatus) {
		this.chargeStatus = chargeStatus;
	}
	public Integer getSeparate() {
		return separate;
	}
	public void setSeparate(Integer separate) {
		this.separate = separate;
	}
	public String getPreparationUnitText() {
		return preparationUnitText;
	}
	public void setPreparationUnitText(String preparationUnitText) {
		this.preparationUnitText = preparationUnitText;
	}
	public String getStockKeepingUnitText() {
		return stockKeepingUnitText;
	}
	public void setStockKeepingUnitText(String stockKeepingUnitText) {
		this.stockKeepingUnitText = stockKeepingUnitText;
	}
	public String getTmpPrescriptionId() {
		return tmpPrescriptionId;
	}
	public void setTmpPrescriptionId(String tmpPrescriptionId) {
		this.tmpPrescriptionId = tmpPrescriptionId;
	}
	public Integer getDosageUnitType() {
		return dosageUnitType;
	}
	public void setDosageUnitType(Integer dosageUnitType) {
		this.dosageUnitType = dosageUnitType;
	}
	public Float getSeparatePrice() {
		return separatePrice;
	}
	public void setSeparatePrice(Float separatePrice) {
		this.separatePrice = separatePrice;
	}
	public Float getRetailBigPrice() {
		return retailBigPrice;
	}
	public void setRetailBigPrice(Float retailBigPrice) {
		this.retailBigPrice = retailBigPrice;
	}
	public Integer getDoctorId() {
		return doctorId;
	}
	public void setDoctorId(Integer doctorId) {
		this.doctorId = doctorId;
	}
	public String getDoctorName() {
		return doctorName;
	}
	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}
	public Date getIssueDt() {
		return issueDt;
	}
	public void setIssueDt(Date issueDt) {
		this.issueDt = issueDt;
	}
	public String getIssueDtText() {
		return issueDtText;
	}
	public void setIssueDtText(String issueDtText) {
		this.issueDtText = issueDtText;
	}
	public Integer getDispenseStatus() {
		return dispenseStatus;
	}
	public void setDispenseStatus(Integer dispenseStatus) {
		this.dispenseStatus = dispenseStatus;
	}
	public Integer getSource() {
		return source;
	}
	public void setSource(Integer source) {
		this.source = source;
	}
	public Integer getFeeMode() {
		return feeMode;
	}
	public void setFeeMode(Integer feeMode) {
		this.feeMode = feeMode;
	}
	public BigDecimal getEditRetailPrice() {
		return editRetailPrice;
	}
	public void setEditRetailPrice(BigDecimal editRetailPrice) {
		this.editRetailPrice = editRetailPrice;
	}
	public BigDecimal getEditTotalPrice() {
		return editTotalPrice;
	}
	public void setEditTotalPrice(BigDecimal editTotalPrice) {
		this.editTotalPrice = editTotalPrice;
	}
}
